package service;

import java.util.List;
import java.util.Map;

import dto.ShoppingItem;

public interface ShoppingCartManager {

	///添加菜品
	public Map<String,ShoppingItem> addShoppingCartItem(Map<String,ShoppingItem> shoppingMap, String foodId);
	//减少菜品
	public Map<String,ShoppingItem> deleteShoppingCartItem(Map<String,ShoppingItem> shoppingMap, String foodId);
	//清空购物车
	public void clearShoppingCart(Map<String,ShoppingItem> shoppingMap);
}
